package com.tudouji.project.purchasebill.mapper;

import java.util.List;
import com.tudouji.project.purchasebill.domain.Purchasebillitem;

/**
 * 采购单明细Mapper接口
 * 
 * @author tudouji
 * @date 2022-04-11
 */
public interface PurchasebillitemMapper 
{
    /**
     * 查询采购单明细
     * 
     * @param guid 采购单明细ID
     * @return 采购单明细
     */
    public Purchasebillitem selectPurchasebillitemById(String guid);

    /**
     * 查询采购单明细列表
     * 
     * @param purchasebillitem 采购单明细
     * @return 采购单明细集合
     */
    public List<Purchasebillitem> selectPurchasebillitemList(Purchasebillitem purchasebillitem);

    /**
     * 新增采购单明细
     * 
     * @param purchasebillitem 采购单明细
     * @return 结果
     */
    public int insertPurchasebillitem(Purchasebillitem purchasebillitem);

    /**
     * 修改采购单明细
     * 
     * @param purchasebillitem 采购单明细
     * @return 结果
     */
    public int updatePurchasebillitem(Purchasebillitem purchasebillitem);

    /**
     * 删除采购单明细
     * 
     * @param guid 采购单明细ID
     * @return 结果
     */
    public int deletePurchasebillitemById(String guid);

    /**
     * 批量删除采购单明细
     * 
     * @param guids 需要删除的数据ID
     * @return 结果
     */
    public int deletePurchasebillitemByIds(String[] guids);
}
